[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Posted by shah on Server Fault See other posts from Server Fault or by shah
Published on 2010-03-31T14:16:45Z Indexed on 2010/03/31 14:23 UTC
Read the original article Hit count: 642

Filed under:
|
|
|

Web server and SQL server both are running on the different machine. The below is the connection string that we are using to connect MS SQL database from classic ASP web application.

set oConn = server.createobject("ADODB.Connection")

oConn.open "PROVIDER=SQLOLEDB;Data Source=xxx.xxx.x.xx,1433;Network Library=DBMSSOCN;Initial Catalog=databasename;User ID=xxxxx;Password=xxxxx;"

No idea why it's loosing the database connection in the middle of uploading the page. Here is error message that we got.

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Already verified SQL server 2005 remote connection settings and default port number. * Remote connections are enabled in SQL Server as per http://support.microsoft.com/kb/914277

Please help.

Thanks,

© Server Fault or respective owner

Related posts about ms

Related posts about sql